Return to doc.sitecore.com

Display Raw XML

The XML being processed can be viewed using the <xsl:copy-of> element:

  <xsl:text disable-output-escaping="yes"><!--Source XML:</xsl:text>

    <xsl:copy-of select="$sc_currentitem" />

  <xsl:text disable-output-escaping="yes">--></xsl:text>

The XML will be written to the browser as an HTML comment.